package net.wang.user.provider.service.impl;

import net.wang.gmall.domain.UserAddress;
import net.wang.gmall.service.IUserService;

import java.util.Arrays;
import java.util.List;

public class UserService implements IUserService {
    @Override
    public List<UserAddress> getUserAddressList(String userId) {
        UserAddress userAddress = new UserAddress(1, "陕西省西安市", "1a", "雁塔", "12312312312", true);
        UserAddress userAddress2 = new UserAddress(2, "陕西省西安市", "1a", "高新", "12312312312", false);
        return Arrays.asList(userAddress, userAddress2);
    }
}
